Registry Guide for Windows Registry Guide for Windows
Part of the WinGuides Network
WinGuides Network and Software
Registry tweaks, tricks & hacks to optimize, enhance and secure Microsoft Windows.

Change Directories Without Typing the Whole Name (Windows NT/2000)
Category: Home > Tips and Tricks > Keyboard Shortcuts

Changing directories at the command prompt can be a hit and miss process when long filenames are involved. This tip let you change directories with ease, not matter how long the directory name.

To change a directory quickly you can use wildcards, for example, to change to the 'C:\Program Files' directory simply type:

cd c:\prog*

Note: This will work in alphabetical order, therefore if you have two directories named 'c:\dir1' and 'c:\dir2' and you type cd dir*, you will be moved to the 'c:\dir1' directory.

Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. We cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.

Last Modified: February 2, 1999

 Return to Index Copyright © 1998-2003. All Rights Reserved.  License